package cn.wolfcode.qo;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class QueryObject {
    //封装当前页
    private int currentPage=1;
    //每页多少条数据
    private int pageSize=3;

    public int getStart() {
        return (currentPage - 1) * pageSize;
    }
}
